package geppetto.phraseTable.phrase.feature;


public class ProbabilityFeature extends AbstractFeature{
	double probability;

	public ProbabilityFeature(double probability) {
		super();
		this.probability = probability;
	}

	public double getProbability() {
		return probability;
	}

	public void setProbability(double probability) {
		this.probability = probability;
	}

	@Override
	public String toMosesFormat() {
		return convertDoubleToMosesFormat(getProbability());
	}
	
}
